package com.sgzn.sgpay.model.request;

import com.sgzn.sgpay.model.request.able.SgsReqAble;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 下分服务请求类
 * @author huangsenguang
 * @version Id: SgsDecreaseCreditRequest.java, v 0.1 2018/5/1 9:21 huangsenguang Exp $$
 */
public class SgsDecreaseCreditRequest extends SgsBaseRequest implements SgsReqAble {
    /**
     * 设备号
     */
    @Length(max = 32)
    @NotBlank(message = "设备号不能为空")
    private String deviceId;

    /**
     * 消费积分
     */
    @NotBlank(message = "消费积分不能为空")
    private String trsAmount;

    /**
     * 登录凭证
     */
    @Length(max = 32)
    @NotBlank(message = "loginToken不能为空")
    private String loginToken;

}

